﻿using IGL_Talk_Win8.Utils;
using System;
using System.Linq;
using Windows.UI.Xaml.Controls;

// The User Control item template is documented at http://go.microsoft.com/fwlink/?LinkId=234236

namespace IGL_Talk_Win8.Controls
{
    public sealed partial class UsersList : UserControl
    {
        public event EventHandler<object[]> SelectedUsersChanged;

        public UsersList()
        {
            this.InitializeComponent();

            listUsers.ItemsSource = ChatConnection.Instance.Users;
        }
    }
}